home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3728 < prev    next >
Encoding:
Text File  |  1996-08-06  |  757 b   |  24 lines

  1. Path: inet.dp.beckman.com!newsmaster
  2. Newsgroups: comp.lang.c++
  3. Subject: Template delaration problem
  4. Message-ID: <4e8c1i$mpp@phoenix.dse.beckman.com>
  5. From: jawalker@ccgate.dp.beckman.com (Jack Walker)
  6. Date: Thu, 25 Jan 1996 17:30:40 GMT
  7. Distribution: world
  8. Organization: DDC, Beckman Instruments, Inc.
  9. NNTP-Posting-Host: j_walker.dse.beckman.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. My compiler (BC++ 4.52) complains about the following declaration:
  13.  
  14. template < class T, T init_val>
  15. class foo
  16. { . . . };
  17.  
  18. Specifically it complains about the line cntaining the template
  19. keyword regarding the type of init_val. Is it valid to define template
  20. arguments in terms of other template arguments?
  21. Work:jawalker@ccgate.dp.beckman.com
  22. Home:75341.3260@compuserve.com
  23.  
  24.